
const TOKENGET = ''
//  获取token
export function gettoken () {
  return localStorage.getItem(TOKENGET)
}
//  存储token  
export function settoken (token){
  localStorage.setItem(TOKENGET,token)
}

export function deltoken() {
  localStorage.removeItem(TOKENGET)
}
export function isAuth(){
  return !!gettoken()
}